package cn.bluedot.model;

import java.math.BigInteger;
import java.util.Date;

/**
 * 日志类
 * 
 * @author hxp 2019年4月19日 下午6:17:32
 */
public class Log {
    /*
     * ID
     */
    private BigInteger id;
    /*
     * 日志ID
     */
    private String logId;
    /*
     * 用户昵称
     */
    private String username;
    /*
     * 用户真实姓名
     */
    private String trueName;
    /*
     * 产生时间
     */
    private Date produceTime;
    /*
     * 功能模块名称
     */
    private String modelName;
    /*
     * 功能操作内容
     */
    private String modelContent;
    /*
     * 修改时间
     */
    private Date modifyTime;
    /**
     * 请求响应时间
     */
    private Double responseTime;
    
    public Log() {
        super();
    }
    


    public Log(String logId, String username, String trueName, Date produceTime, String modelName, String modelContent,
            Date modifyTime, Double responseTime) {
        super();
        this.logId = logId;
        this.username = username;
        this.trueName = trueName;
        this.produceTime = produceTime;
        this.modelName = modelName;
        this.modelContent = modelContent;
        this.modifyTime = modifyTime;
        this.responseTime = responseTime;
    }





    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public Date getProduceTime() {
        return produceTime;
    }

    public void setProduceTime(Date produceTime) {
        this.produceTime = produceTime;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelContent() {
        return modelContent;
    }

    public void setModelContent(String modelContent) {
        this.modelContent = modelContent;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    
    public Double getResponseTime() {
        return responseTime;
    }


    public void setResponseTime(Double responseTime) {
        this.responseTime = responseTime;
    }


    @Override
    public String toString() {
        return "Log [id=" + id + ", logId=" + logId + ", username=" + username + ", trueName=" + trueName
                + ", produceTime=" + produceTime + ", modelName=" + modelName + ", modelContent=" + modelContent
                + ", modifyTime=" + modifyTime + ", responseTime=" + responseTime + "]";
    }

}
